import Layout from "@/layout"
const chronicDisease = {
  path: "/chronic-disease",
  component: Layout,
  redirect: "/chronic-disease/hypertension",
  alwaysShow: true,
  name: "慢病管理",
  meta: {
    title: "慢病管理",
    icon: "chronicDisease"
  },
  children: [
    {
      path: "/hypertension",
      component: () => import("@/views/chronic-disease/hypertension/index.vue"),
      name: "高血压管理",
      redirect: "/chronic-disease/hypertension/record/index.vue",
      alwaysShow: true,
      meta: {
        title: "高血压管理",
        icon: "chronicDisease"
      },
      children: [
        {
          path: "record",
          component: () =>
            import("@/views/chronic-disease/hypertension/record/index.vue"),
          name: "高血压建档",
          meta: {
            title: "高血压建档",
            icon: "chronicDisease"
          }
        },
        {
          path: "service",
          component: () =>
            import("@/views/chronic-disease/hypertension/service/index.vue"),
          name: "高血压随访服务",
          meta: {
            title: "高血压随访服务",
            icon: "chronicDisease"
          }
        },
        {
          path: "health",
          component: () =>
            import("@/views/chronic-disease/hypertension/health/index.vue"),
          name: "高血压健康体检",
          meta: {
            title: "高血压健康体检",
            icon: "chronicDisease"
          }
        },
        {
          path: "examine",
          component: () =>
            import("@/views/chronic-disease/hypertension/examine/index.vue"),
          name: "高血压专档审核",
          meta: {
            title: "高血压专档审核",
            icon: "chronicDisease"
          }
        }
      ]
    },
    {
      path: "/diabetes",
      component: () => import("@/views/chronic-disease/diabetes/index.vue"),
      name: "糖尿病管理",
      redirect: "/chronic-disease/diabetes/record/index.vue",
      alwaysShow: true,
      meta: {
        title: "糖尿病管理",
        icon: "chronicDisease"
      },
      children: [
        {
          path: "record",
          component: () =>
            import("@/views/chronic-disease/diabetes/record/index.vue"),
          name: "糖尿病建档",
          meta: {
            title: "糖尿病建档",
            icon: "chronicDisease"
          }
        },
        {
          path: "service",
          component: () =>
            import("@/views/chronic-disease/diabetes/service/index.vue"),
          name: "糖尿病随访服务",
          meta: {
            title: "糖尿病随访服务",
            icon: "chronicDisease"
          }
        },
        {
          path: "health",
          component: () =>
            import("@/views/chronic-disease/diabetes/health/index.vue"),
          name: "糖尿病健康体检",
          meta: {
            title: "糖尿病健康体检",
            icon: "chronicDisease"
          }
        },
        {
          path: "examine",
          component: () =>
            import("@/views/chronic-disease/diabetes/examine/index.vue"),
          name: "糖尿病专档审核",
          meta: {
            title: "糖尿病专档审核",
            icon: "chronicDisease"
          }
        }
      ]
    },
    {
      path: "/COVID-19",
      component: () => import("@/views/chronic-disease/COVID-19/index.vue"),
      name: "新冠肺炎管理",
      redirect: "/chronic-disease/COVID-19/record/index.vue",
      alwaysShow: true,
      meta: {
        title: "新冠肺炎患者建档",
        icon: "chronicDisease"
      },
      children: [
        {
          path: "record",
          component: () =>
            import("@/views/chronic-disease/COVID-19/record/index.vue"),
          name: "新冠肺炎患者建档",
          meta: {
            title: "新冠肺炎患者建档",
            icon: "chronicDisease"
          }
        },
        {
          path: "supplement",
          component: () =>
            import("@/views/chronic-disease/COVID-19/supplement/index.vue"),
          name: "新冠肺炎患者个人信息补充表",
          meta: {
            title: "新冠肺炎患者个人信息补充表",
            icon: "chronicDisease"
          }
        },
        {
          path: "first-service",
          component: () =>
            import("@/views/chronic-disease/COVID-19/first-service/index.vue"),
          name: "新冠肺炎患者第一次随访服务",
          meta: {
            title: "新冠肺炎患者第一次随访服务",
            icon: "chronicDisease"
          }
        },
        {
          path: "service",
          component: () =>
            import("@/views/chronic-disease/COVID-19/service/index.vue"),
          name: "新冠肺炎患者随访服务",
          meta: {
            title: "新冠肺炎患者随访服务",
            icon: "chronicDisease"
          }
        },
        {
          path: "examine",
          component: () =>
            import("@/views/chronic-disease/COVID-19/examine/index.vue"),
          name: "新冠肺炎专档审核",
          meta: {
            title: "新冠肺炎专档审核",
            icon: "chronicDisease"
          }
        }
      ]
    }
  ]
}
export default chronicDisease
